package com.tencreat.domain.mall.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MallGoodsCutVO {
    @ApiModelProperty("砍价ID")
    private Long  cutId;

    @ApiModelProperty("活动编号")
    private String cutSn;

    @ApiModelProperty("专区名称")
    private String zoneName;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品图片")
    private String picUrl;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("商品底价格")
    private BigDecimal lowPrice;

    @ApiModelProperty("帮砍人数")
    private Integer  cutCount;

    @ApiModelProperty("砍价时长")
    private Integer cutTime;

    @ApiModelProperty("销量")
    private Integer sales;

    @ApiModelProperty("商品状态 0|下架 1|上架")
    private Integer isOnSale;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("活动时间-开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime cutStartTime;

    @ApiModelProperty("活动时间-结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime cutEndTime;

    @ApiModelProperty(value= "是否分佣 1-是 0-否")
    private Integer isBonus;
}
